package hibernate_advanced_apply.object_inherit_mapping.two_table.mapping.source;

/**
 * @author Administrator
 * @create 2019-01-07 7:02
 * @desc 学生持久化子类
 **/

/*
只需要定义该子表专属字段属性
*/
public class Student extends Person{

    private String school;

    public String getSchool() {
        return school;
    }

    public void setSchool(String school) {
        this.school = school;
    }
}
